package com.zr.plant.service;

import com.zr.plant.pojo.*;
import com.zr.utils.ResultVo;

import javax.validation.Valid;

/**
 * Created by Lenovo on 2019/12/25.
 */
public interface PlantService {
    ResultVo queryLegalPersonById(Integer userId);

    ResultVo queryPage(PlantSelectVo plantSelectVo);

    ResultVo add(@Valid PlantAddVo plantAddVo);

    ResultVo updte(@Valid PlantUpdateVo plantUpdateVo);

    ResultVo updateStatus(@Valid PlantUpdateStatusVo plantUpdateStatusVo);
}
